Cleanup and document Jazzcat perf testing.

- Use require.main rather than globals.
- Cleanup and document scripts.
- Seperate routes / views.