Clean up jquery

The site works now, but there's a huge security flaw because the
password is shown in the javascript.