Cleanup perf/perf.js and test/test.js.
Update vendors.
Simplify build/mkdirp-sync.js.