Update moment.js
Refactor date handling in Javascript

- Use moment.js to manage dates, removing old functions to parse and
  format dates
- Extract datetime helpers to another JS file
- Show timezones in absolute time ranges to help users understanding the
  date being used