changed message trigger to alert event
Added bootstrap styles