Updated the readme with javascript examples and fixed a few typos.