Porting the online JavaScript SDK docs to this repository.
Merging with master.