Changes made to html5waitingfix tests to work with Jasmine