fix Array.splice method need 2 arguments in IE8