Fixed issue with moment.js library