Gmail will block .js file attachments starting February 13, 2017

January 26, 2017

Gmail currently restricts certain file attachments (e.g. .exe, .msc, and .bat) for security reasons, and starting on February 13, 2017, Gmail (bMail) will not allow .js file attachments as well. Similar to other restricted file attachments, you will not be able to attach a .js file and an in-product warning will appear, explaining the reason why. 

Gmail will block .js file attachments starting February 13, 2017

Read more.