Added fallback for IE8 and under. Tested in IE8-11, Safari, Firefox and Chrome