don't use confirm method; just save
fix applicaiton.js
re-add the file
correct the require statement