Implement ajax call instead of parent form submit