adjustments to admin javascripts and generator