Js cleanup