fix some bugs to pass HTML5 validator

Signed-off-by: Fabien Crassat <fabien@crassat.com>