improved html and eruby snippets