Changes made to html5erroroncompletefix tests to work with Jasmine