Javascript Date yearStartDay()
yearStartDay()
Date.prototype.yearStartDay = function(){ return new Date(this.getFullYear(),0,1).getDay(); }