fixed html syntax
Merge pull request #104 from flopp/261-html-errors

fixed html syntax
fixed html structure in lib1 main template