Replaced all alert() with bootstrap alerts