Created getlocation.js