changed location.js