Simplify net_test.js.