Format registration.js. Lots of work to do.