add ajax loader to submit button