Newgrounds seems to strip comments from javascript source files when uploading HTML5 games.
However, very long comments seem to be only partially stripped, resulting in an invalid .js file and the malfunction of the uploaded game.
This is a minimized example of this faulty behavior I've uploaded: http://www.newgrounds.com/projects/games/1120353/preview
Here is the .zip file I uploaded: https://www.dropbox.com/s/vmwnp02zz8ye4e7/NGBug.zip?dl=0 It consists only of two files: index.html : https://paste.ee/p/bLoni and script.js : https://paste.ee/p/7DCkN
When displayed locally in a browser, this should display a white Hello World text (white to make it visible on NG's black background). However, as you can see, this fails to work when uploaded on Newgrounds, because Newgrounds only partially strips the very long comment in the beginning, producing the following incorrect and malfunctioning .js file: https://paste.ee/p/cSZF7
This is an issue in practice as well, because RPG Maker MV requires some meta-info in the comments of the source files of Javascript third-party plugins. Some plugins, like Yanfly's Credits Page plugin http://yanfly.moe/2015/12/24/yep-49-credits-page/ , legitimately need to store a lot of meta-info in the comments. This is an inconvenience for RPGMakerMV users, since they need to manually modify these plugins so that they no longer get invalidated by NG formatters. Fixing the comment stripper so that it always strips the whole comment and never only parts of it would be convenient.