Updated moment calls to use number, period to fix the depreciation error

Was getting depreciation errors from moment in the habitrpg tests. Switching the subtract calls from `("period", number)` to  `(number, "period")` fixed them.