Getting geographic locations with JavaScript in iOS webapps