Edited Location.js