Encapsulate tags array in jsstate, for html.cpp only.

This is a means to an end. We can if we like make tags a C++ class
such as list or vector.