Popup won't tolerate .not()
Refactor definitions list into js, h/t daigo75