Update injectRegistration.js