Got geolocation through javascript

More work needed to get it in a respectable form.