fixed the bootstrap submit and ajax call