adds DELETE resource-writer.js