IceDragon locks up when on Facebook because of unresponsive Script

Hey everyone. When on Facebook for more than a few minutes an unresponsive Script causes Comodo IceDragon to freeze up. How do I stop this? It is incredibly annoying to the point where I may very well quit using Comodo IceDragon if I can’t get this problem fixed.