same as the item about the Distinct for loop goes for line 206, 227
minor issue: in the Distinct function on line 177 the i variable is missing the 'var' keyword. for (i = 0; i < this.length; i++) should be: for (var i = 0; i < this.length; i++)