fixed js issues surrouding update-js clients