ADEN-834 fix js unit tests