As a first step, let us just check whether the HTML5 Geolocation API is present in this browser or not.
Next
JavaScript source