Fixed deprecated warning for 'add' method.

The latest version of `moment.js` (version 2.8.1 as of writing) gives two deprecated warnings:

- The method `add(period, number)` should be replaced with `add(number, period)`. I swapped the parameters on these calls to fix the warnings.
- The method `langData()` should be replaced with `localeData()`.

The file itself was auto formatted to remove some strange spacing and inconsistent indents.