modified dailybread.js