cleanning js file