Phonegap structure