Use Haxe remoting to communicate from Flash-land to JS-land. But with callbacks!