Use [class] instead of .class to avoid errors in IE 8.