Identifying a JavaScript error on a list with 700 "entries"
<p>I'm modifying a website that I don't coded but my boss ask me to do.</p>

<p>I see a javascript error on Firebug that says: <strong>missing ] after element list</strong></p>

<p>In the end of the file processed with PHP, there is two lists with 771 elements. One is called <strong>list1</strong> and the other <strong>listaid</strong>. First contains the names and the second the ids of the list.</p>

<p>You can see the code:
<a href="http://pastebin.com/Ctji5Qx9" rel="nofollow">http://pastebin.com/Ctji5Qx9</a></p>

<p>How I can evaluate where is the error on the list? I can't see it with this amount of elements and the highlight don't shows any error...</p>

<p>Thank you in advance!</p>
