add support for html5 elements