add dispose
upgrade to haxe3/javelin