fix moment.js dependency.