Remove ajax function and add submit form