Use Parse.com REST API instead of JS API. It's more flexible, has less dependencies and makes it easier to switch the backend in the future.
Test fixes
disted