Facade for the different methods of assigning a function as an event handler in JavaScript. Pretty straightforward implementation that hopefully will be unnecessary in the near future as Internet Explorer 8 gets phased out.