One suggestion if you take this further is to add a "dictionary" or "hash table" type. For practical programming problems, that is pretty necessary.
Dictionaries and Sets are high on the ever growing list of extremely important libraries :)
Also, it compiles to HTML, CSS, and JS. Not just JS!