Using moment.js instead of date.js