aligning notification style between directory.js and edit-badge.js