Haxe HTML5 DOM implementation of Garden