So right now, I understand that in order to attach an event listener to a dynamically added element, you have to redefine the listener after adding the element.
Is there any way to bypass this, so you don't have to execute a whole extra block of code?