small fixing in journal.js