Form not submitting on my webpage and hangs at Please wait