Add JS examples to Getting Started

This adds Javascript examples to "Getting Started" that work in Node.js and in the browser.