Update delete.js