Fixed pure JS example in README.