add javascript.snippets