switched to moment.js for parsing and displaying time