Updated to handle new style 'on' event listener. Updated README