adding support for HTML5 geolocation

adding support for HTML5 geolocation