[HTML5 Report] fixed printing (fixes #44)