Js weight fix