Your comments

Sorry that it took me so long, but here it is.

I've created a TextMate bundle from the Sublime Text package which is compatible with Textastic.

You can download the bundle from here: http://www.textasticapp.com/support/Fountain.tmbun...

I've also adapted the themes that come with the Sublime Package:
http://www.textasticapp.com/support/FountainThemes...

Please follow the instructions in the manual to use it with Textastic:
Mac: http://www.textasticapp.com/mac/manual/lessons/How..
iPad: http://www.textasticapp.com/v4/manual/lessons/How_…
iPhone: http://www.textasticapp.com/iphone/manual/lessons/...
Thanks, I'm glad that you guys like it!
Hello, currently there is no such feature. Thanks for the suggestions!
Bat
Since the links I posted before do not seem to work anymore, I've created a bundle derived from the syntax file at http://adamv.googlecode.com/svn/editors/e/bundles/...

You can download the new bundle here:
http://www.textasticapp.com/support/Batch.tmbundle...

Have a look at the manual to see how can you install it in Textastic:
http://www.textasticapp.com/v4/manual/lessons/How_..

Once you install it, the "Batch File" syntax should be automatically selected when you open .bat or .cmd files.
Sorry that it took me so long, but here it is.

I've created a TextMate bundle from the Sublime Text package which is compatible with Textastic.

You can download the bundle from here: http://www.textasticapp.com/support/Fountain.tmbun...

I've also adapted the themes that come with the Sublime Package:
http://www.textasticapp.com/support/FountainThemes...

Please follow the instructions in the manual to use it with Textastic:
http://www.textasticapp.com/mac/manual/lessons/How..
The problem, as you wrote is that FireBug itself is JavaScript-based, so it probably dies when there is an actual syntax error in other JavaScript code.

I'm not sure if iOS offers the means necessary to report JavaScript errors in a web view. iOS 7 might have brought something new in this area, but I'll have to look into it. 
Did you see the syntax definition list in the File Properties popover? It isn't divided into language categories though.
How are you using Firebug Lite? In the preview window, you can enable Firebug, but that is really only useful for inspecting elements because it is loaded after the page is loaded and JavaScript is already executed.

Did you try to reference it directly from your HTML as the first script as described on the Firebug Lite site? http://getfirebug.com/firebuglite#Stable