OP, tb, is *assuming* there is a relationship between the js and the
addon. But there is no relationship. folderPane.js simply is a common
file that gets called out in the Unresponsive Script dialog.
The cause of the issue is somewhere else. Begin by starting Thunderbird
in safe mode.