used moment.js to make dates pretty