peacified jslint
added PocketApi

not yet fully transfered to jo, still a bit enyo like. TODO: ask dbalmer
how to best do ajax calls.