Use `doc.body.classList.contains('journalArticle')` instead