Update .js directories and paths to the .js files