Add/implement location.js in browse.js