replace html5 elements