add snippet for js-mode and js2-mode
Merge pull request #2 from xiaohanyu/master

add some snippet for js-mode and js2-mode