Wrote jQuery to handle form psuedo-submission