This totally ambiguous error is a pretty simple fix but surprisingly, not many people have said anything about it. The error comes from Firebug. The break on this error isn’t a part of the error but it is in the firebug copy dump.
syntax error [Break on this error]
The way I encountered this error was that I forgot to specify a src attribute value for my script tag!