AS3 to JavaScript converter written in Haxe