switch to moment.js for date processing