Update testharness.js to latest master
Merge pull request #1486 from luser/update-testharness

Update testharness.js to latest master