Javascript Array deleteAt(index)
Array.prototype.deleteAt = function(index) { return this.splice(index, 1); };