Fixed missing semicolon.
Refactoring of HTML/template code.