Make warnings and notices closable with jQuery