moved location.js to be used only on homepage