Defined and used HB_EVENTS constant object instead of strings for event 
names. This provides centralised location to manage constants.