Gmail will soon block JavaScript files from being uploaded and sent over email. Starting February 13th, you’ll no longer be able to attach .js files as they are increasingly being used as a form of malware. If a user downloads a malicious JavaScript file, hackers can use it to gain access to their PC to steal data or perform other damaging functions.