Made IE8 compatible