added refrence to phonegap.js