cleanup js file