Converted BsNotices.js into a jQuery plugin.