The javascript in the ambra/registration/webapp project is a cloned sub-set of pre 0.9 ambra/webapp javascript including an entire clone of the old (0.4.3) dojo library!
The dojo library should be removed from this project entirely and a separate dojo build profile (in the ambra/libs/js project should be created to accommodate all dojo dependencies for this project.
Additionally, we should eliminate the ambra/registration/webapp project's dependency on the prototype library (prototype.js) as dojo should be able to handle whatever prototype is currently tasked with.