add support of html5 element and media queries