Update client-side JS