use moment.js instead of date.js