Re-indented lines for readability.
Moved the remove button click listener to outside of the mouseenter/mouseleave listeners