Prevented multiple form submissions with jquery.