Update README.md

Fix js sample code.