start using moment.js for formatting dates