Trying to set up event handling in the hmtl.