added js snippets to web-mode