Add get location by JS