Create locate.js