Updates for Haxe3, latest Detox, fixes for IE9 demo

Thanks to Samir Sabri for pointing out that it had stopped working