redefine the Javasript'alert()