Move JOIN action to an event listener (#82)

Good job removing this; it's not used in tab.js anywhere.