output in filelist.html factorized in a template
output in dragandrop.html factorized in an underscore template