Created an ajax call to increment the sequence. Added a testing console log for the on-submit function.