Fixed regex for removing HTML comments in IE8
Updated unit tests for IE8