Update README.md

Generalized JavaScript version