[html] Externalize custom javascript
[html] Use templates
Move functions to the right place
[html] Refactor
[html] Include glypicons
Use quote escaping
[html] Toggle description
[html] Display metadata
[html] Add content type
[html] Display text when no issue