Fix syntax error

I removed `})` since it cause syntax error on js console
Merge pull request #9 from justmyfreak/patch-1

Fix syntax error - thanks!