Eliminate alert, display on page using jquery instead