Fixes Atmosphere/react-javascript-client#14 Add JavaScript client API