Experimenting with RequireJS in Phonegap apps