corrects the path way on the js file