basic js phonegap app from youtube