updated cordova.js, removed compass code