Javascript Array delete(value)
Array.prototype.delete = function(value){ return(this.filter(function(n){ return n != value; })); };