Added clientside code for alert reporting #52