fixes js-dependencies in tests