Cleaning JS file