Simplify remove.js