fix IE8 enter function support

fix IE8 enter function support, IE8 doesn't support null as second argument of apply method.