The proxy class should return the name of the JS class to use, or better, the piece of JS to generate.