change path javascripts