Removing duplicate alert.js