Add js snippets