remove unnecessary alert.js