Fixed problem .class not working in IE8