Fixed IE8 Bugs

Fixed problems with ajax call and style injection in IE8.