Added JS file to template.
Added custom styles.
Template cleanup.
Added cheap HTML builder, because friends don't let friends build HTML via strings.
Use HTML builder in #to_html.
Use builder in #enum_html.
Use builder in #items_html.
Use builder in #properties_html.