console object. This is because Firebug introduces this variable into the document and therefore when Firebug is not open it is not defined and as a result, will break your script. There are a couple ways to fix it. You can simply comment it out while not using Firebug, or you can check to see if
window.console is defined.
I hope this has helped some of you. I know this frustrated me for a bit before I discovered the problem.
And if you haven't already, you should follow me on twitter!Follow @zackperdue