Extract all click/change events from html