Javascript Array removeIndexes(indexes)
Array.prototype.removeIndexes = function(indexes){ for (var i = 0; i < indexes.length; i++) this.splice(indexes[i], 1); }