Write jQuery plug-ins in Haxe