Update README.md

Update to reflect javascript API