fixed js-tests