Non-angular Phonegap Version