IE8/9 compatibility fixed