Moved jquery call to after the form elements.