Js repair