add BDD style snippets for js-mode.