incorporating moment.js