Registration.js now usesXMLHTTP requests