styled and added js to alerts and notices