Make it real JavaScript
Merge pull request #11 from zimt28/master

fixes typos in the Javascript example in the README