giving splice method necessary arguments so it works in IE

The splice() method was being invoked without a howMany parameter. That will only work in Chrome and Firefox.