Modify dailybread.js  to avoid NaN for "daily" variable