removal of rogue JS alert in application.js