Clean JS file