add footer with date and time from sugar.js