Hacked in support for jsgl for the web interface. Prototyped some web renderering