webapp.py: fix html structure