JS is probably Java.
If an old version remove it and use the latest updated one.
Not saying that is what your problem is but worth trying.
Or run C Cleaner see if that fixes it.
Best waiting until someone can help you fix it properly.
Not sure if Firefox uses Java or not.