Javascript Date addDays(d)
Date.prototype.addDays = function(d) { this.setTime(this.getTime() + (d*24*60*60*1000)); return this; }