Cross-browser fixes

Add cross-browser handling (still buggy on FF)
Add error page
Fix UTF8 hash bug on Safari
Fix crash when accessing unkown trip