fix the path of some js files