Js clean up