Update registration.js