Bug fix for encrypted filenames
minify some js