Phonegap Boilerplate