Javascript client library for newts