Implementation of feature request 785
user files added
added js files
added mime detection and updated allworks condition