The D&D attach error for file too big should be reversed

Signed-off-by: emanuele <emanuele45@gmail.com>
If no extensions, do not add them in js checks too

Signed-off-by: emanuele <emanuele45@gmail.com>