Move sanity checks to view.js, so they happen for all browsers. Register error handler in stateMachine, so error buttons work.
Add makefile rule to generate appcache manifest
Disable appcache generation for now, until we've solved our woes
Move MathJax config to a separate file
Remove more useless Pythony cruft
Check window.navigator.onLine for any ajax calls
Fix up t&c's message so it's parsed properly as HTML
Add fancy unauthorised error message, that lets users log in.
Add atob polyfill
Remove Array.last, shouldn't be doing that