These three files should probably be in the management JS
Move a few files into the management JS
Whitespace tidy
Putting the extrajs back in the base templates