#29 if statement added for IE8