clean js file