javascript code-genned constants