[ticket/124] Make portal HTML 5 valid

Fixes #124

B3P-124