Javascript/Bootstrap alert manager.