revert #1068 to make the xunit reporter runnable in browsers