Update to readme.md, small twaeks to the javascript example