Front-End in Phonegap