fixed bug where phonegap.js was not included