changing references to js files