Fix Object constructor check for IE