added automatic current location from browser api