Add js testing snippets