move event listener assignments into one line