Separate <form> elements instead of switching form method via JavaScript