Smalls fixes on the HTML5 test (ref #1).