Make a jQuery plugin to display flash messages