Update sensors to use cordova.exec and document events