comments the onDeviceReady in geolocation.js and add all code for geolocation witin ios platform in xml.