Got geolocation through javascript

More work needed to get it in a respectable form.
Merge pull request #3 from jameshwang/james/get_geolocation

Got geolocation through javascript