Fixes JS parsing error in the example

I couldn't help but notice that the README contains a Javascript syntax error, this pull request fixes it.

Its a small pull request, but it helps :) Great repo by the way.