additional jsdoc; renamed isOnPage to onPage