[aerogear-dev] javascript api sync