Fixed bugs(one magic bug in IE9 and some more fixes).