update typeof check for callback in get method, add error message for HTML5 geolocation fail.