add corrent path to js files when running tests