Ah, sorry.  I have no clue about the JS compiler, and didn't know the JS compiler couldn't skip imports and classes.  What do you suggest: take out the doc paragraph and the class, or just the doc paragraph, or make a separate module.  In fact, NodeJS backing store would be config and browser would be cookies scoped to the application context and some native code would be required to make it work properly. At least the abstraction is there.