ignore script tags and comments which cause poor performance in low-content settings