#390 alternative fix for IE8