Added html5 functionality for IE 8