Fix [error] ReferenceError: moment is not defined