Added basic javascript geo-location support