change path error for js file