Add custom snippets for javascript