Fix an issue with IE8

The IE8 Function.apply method errors out with an undefined value as the array of parameters