admin tweaks
admin js refactoring