Google has said Gmail will block .js attachments from February 13, 2017, in a similar way that it block others, such as .exe, .bat, and .mse, etc.
You can still send files, but it will have to use Google drive or Google Cloud Storage.
[
gsuiteupdates.googleblog.com...]