Takes legacy inline JS (i.e. "onclick" and "href='javascript:...'") and creates an event handler(s) to be run around the inlined code.