Remove assignment to undeclared variable in perf.js.
Add `isHostType` to perf.js.