added js example (not working yet)
updated client bug build