Refactor relative time to work with upgraded moment.js.
Closes #49