Extensive support for passing GWT Java functions to JavaScript APIs that require JavaScript functions