updated client js