jQuery Deferred Syntax Sugar macro for Haxe3