"update" -> "updateAfter"
Set attrs before the element gets appended
Leave "target" and "currentTarget" as DOM Nodes
Don't expose the component object
Fix comments
Refactoring
Remove unnecessary variable
Test
Refactoring