Switch test lib from QUnit to wru in JavaScript port

Improved JS-engine compatibility