Added inserted value handling.
Issued alert() on inserted negative value or not-a-number. Did not
change the current error handling for geolocation.