Fix javascript syntax.
Merge pull request #2 from ynizipli/master

Fix javascript syntax.