Boilerplate code for an app using Cordova/Phonegap and jQuery Mobile