added cordova
updated for gps