Fixed IE8 compatibility