added type alias for standard haxe 3 js api