Remove dom dependency for js in TestRunner