Fixed regexp for IE8