Override javascript snippets