Quickly had a reason to make a small plugin that could handle making alerts within most generic apps a bit more responsive and easier to change and manipulate with Ajax requests.
It is really simple and easy to use for your alerts.
I should note I used Bootstrap CSS classes, syntax and styling for this plugin actually however, this plugin is not limited to Bootstrap in anyway and should provide configuration abilities for any site and CSS framework.
You can find more on this plugin on Github: https://github.com/Sammaye/summarise
Hope it helps,