js upate fixes