Various fixes, browser-compatibility fixes...

Hi Martin,

I thought it would be useful for you to merge in recent work on the JuxtaLearn Hub plugin. Lots of small changes...

Thanks,

Nick