I was able to compile this example using Haxe 4.2.5 but loading it in browser (html5) the head does not appear. No errors shown.