didn't include phonegap.js