#390 alternative fix for IE8

Alternative way to resolve #390