Added jQuery handling (prelimary) for the submit app buttons