Cleaned up code and added HTML parsing capability
changed alert types to be green if received and red if an error