separated file uploader
jsdoc
removing obsolete references
moved rights init outside of callback so even if there are no specs, button could be visible