fix suggessions from sensiolabs insight

Connected to the #254  ticket, fix some of the suggested sensiolabsinsight errors
:-1: Imho it’s cleaner to not add a new line at the end of an (html) output file