Daysoff in Node.js