fixes matching comments for IE<8 and #625