Update moment.js and resolve deprecation notice

When using with the latest version of moment.js, a deprecation warning would log in the console saying that `moment().add(period, number)` should be replaced with `moment().add(number, period)`. This pull request includes that change, as well as updating the included version of moment to the latest version.