Fix logging in domdiff.test.js

Change-Id: I2df572e59c8cb24646cea10683ab7815fe2b59e7