Moment.js deprecation warnings

Fixes:

    Deprecation warning: moment().add(period, number) is deprecated. Please use moment().add(number, period).