IE8 support in the demo; fix legacy support loadin

Demo will now (mostly) work in ie8.