client js library