added journal.js