big time documentation rewrite of the JS client