Added JavaScript example.
Merge pull request #1 from Acconut/gh-pages

Added JavaScript example