fix js files