ADEN-1134 Fix js unit tests after ADEN-1041