Update getLocation.js