extending html_helper with some extra functions