Did you forgot to add -generateJsInteropExports to the compiler parameters?
Looking at your code, the class would be available at "blah.WebUI", but you'd have to create a new instance before your can call your method, and given how you initialize it you'd have to call onModuleLoad before that.Maybe if you make your method and all the fields 'static' that'd work; either that or move the initialization in the class constructor (and maybe use another class as the EntryPoint to avoid a double initialization).