JavaScript cleanup

Refactors and documents the site's JavaScript code

- [ ] Documentation
  - [x] Set up documentation tools
  - [x] Document `map.js`
  - [x] Document `reports.js`
  - [ ] Document `getinfo.js`
- [ ] Refactoring
  - [x] Remove unused / commented functions
  - [ ] Create a `getData()` function which then passes report data to map and reports (instead of dodgy hack of calling reports function from within load reports function.