Javascript alerts and notification system.