Generalize and fix ie9 CSS class