JavaScript example had wrong variable name.
Merge pull request #66 from kay-is/patch-1

JavaScript example had wrong variable name.
Rework the README