rename 'list' function to 'listing'
move inline event handler to function 'destroy'