I had problems with headers because I installed js library via bower and there isn't newest version. At this moment bower installs v1.1.5.
There appears to be a duplicate bower package using the name "kinvey" (with all lower-case letters). The official library is instead listed under "Kinvey" (with a capital K) -- update your bower dependency to this package, and the latest version should be installed.
Maciej Chmielarski