Local HTML5 geolocation logic built in