remove tabs by 4 spaces
take some more variables out of the DOM
Adapt entry html file to new object notation