added moment.js to simplify date formatting