HTML Snippets refactorings