for some reason an app object is never getting instantiated. I think maybe the phonegap.js isnt getting loaded