delete alert window in application.js