Fixing js files