fixed a check for a non-compliant Array.prototype.splice implementation ...

...that was causing a shim to be applied to ES5-compliant browsers instead of applying it to buggy/incorrectly implemented ones