Fix IE8 issue with splice #138

* replace native Array.prototype.splice in IE8 to JS implementation