Use moment.js to parse dates