removed dependencies on cordova and phonegap JS files.