Update README.md

Fix example to remove ReferenceError