A JavaScript client library for the Tent protocol