Queue Bootstrap alerts with Javascript