Fix unsupported method for IE8