fix paths to js