Proof of concept ajax call on submit