moved admin logic from template to admin-bar.js, disabled feature in upload.js (only for browsers that don't support fileupload or knob)