Clean paths to js files