Fixed moment.js deprecation warning