Adding in event parameter to event handling in html.