Refactored delete to use alternative implementation from knox.js lib