Fix no-history-supporting issue in IE8