deleting phonegap.js reference