removes js alert from invoice_n search