fixing js files