Use moment.js to format dates