Fix URI encoding bug

judge.js was being a little zealous in encoding the XHR validation URL. In fact,
it was being encoded in three different ways. This it bad for a number of
reasons, not least because it makes validating values such as email addresses
impossible.