Port editor JS tests to Mocha
Reduce runtime of editor perf tests to speed up suite