Put signup javascript in separate .js file and include with <script> tag

This fixes whatever the problem was with the include...