change how the js path is loaded