Initial commit for JavaScript client