IAPageEdit.js - enable save button on delete button click and remove useless code