add js snippets
Merge pull request #363 from azer/master

Add JavaScript Snippets