caved and added a global place to register creation callbacks

I couldn't figure out how to use registerElement multiple times, so I had to add a hook to register things to the thing it calls