The noscript would not be needed at all. The value could be the real one by default, then in js set to 0 and incremented

[deleted]

True, in this case even easier!

I guess I thought of noscript due to other cases I had recently, where I noscript-ed a whole workflow and displayed elements, that should never appear, when JS is running.

[deleted]