LPS-42864 fix js error