adds alert, attaches the other ajax to the window.