LPS-37414 fix bug in js in journal