sorttable.js: Clean up trailing spaces
sorttable.js: Use UTF-8 for the file
sorttable.js: Fix dumb cookie parsing
Added missing import
Cleanup: removed unused imports
Agreement: no need to inherit from different form classes