Unresponsive Firefox Script error issue

Hi!
Recently, I have started playing Farmville and notice that my browser screen freezes about every minute or two. Thereafter, I receive a message telling me that there is an unresponsive script.
I have a Compaq Presario CQ60 laptop with Windows 7 Ultimate installed. Mozilla Firefox is my default browser.
When I check, in task manager, I see that Firefox is unnresponsive. I also see that Adobe Flash Player is also unresponsive.
If I choose to end the unresponsive programs and start my browser back up, the same thing happens. If I do not end the unresponsive programs, then after a while the problem goes away, but then reoccurs after a few minutes.Â
What can be the cause of the unresponsive script?
Awaiting for your answers.
Thanks.
Â
Â
