Update Google Analytics javascript code to latest version.
Fix unhandled exception on irclogs page

Code triggered an error when the channel directory is not readable.
Merged with latest from master.