Form now works, moved java into <body>