I wrote a self invoking function in both firefox and chrome it it wouldn\'t invoke.
I wrote something to the effect of
(function () { alert(\"THE\")
I had this issue with a self invoking function which produced this error...
Uncaught TypeError: object is not a function
The problem was caused by not having a semi colon ending the line before the opening bracket