JS: Group related snippets together.