refactored upload document (changed also select categoryList in js file)
Signed-off-by:Sergio L. <mellowonpsx@gmail.com>