Phonegap base