find out where the alert is raised/triggered from From http://stackoverflow.com/questions/7808665/how-to-find-out-where-the-alert-is-raised-from
var old = alert;
alert = function() {
console.log(new Error().stack);
old.apply(window, arguments);
};