Boilerplate for Phonegap