Got ajax for form working and spinner