adds html5 compatibility for older versions of IE