replace datejs with moment.js