Made callback function for deleting, does not work
change callback to assign delete event listener after node has been created
fix merge conflicts