The ability to add by weekdays and tell if it's weekend

For example, 
     var day = new Date(2013,2,13)  //a Wednesday 
     day.addWeekdays(4) //becomes 2013/2/19 a Tuesday
     day.addDays(-2).isWeekend()  //returns true as its a Sunday