Prevent delete default, also an error cropping up in list.js