fix paths to js files