• After playing around a bit, I have discovered, that the problem is directly connected to the "Esprima Mangle" option in the Web IDE: If I disable that option, code is transferred correctly.

    Could it be that shortening variable names does not handle class definitions correctly?

About