js file replace bug OK