List of utility methods to do Array Except Last
Array.prototype.exceptLast = function() { if (this.length <= 1) return null return this.slice(0, this.length - 1)