sorttable.js: Clean up trailing spaces
sorttable.js: Use UTF-8 for the file
sorttable.js: Fix dumb cookie parsing