Fix JS in fromeventpattern doc
Merge pull request #237 from gre/patch-1

Fix JS in fromeventpattern doc