We've all been there. Still awake at Oh My God Thirty trying to fix a nightmare of a script error because half of your installed extensions are trying to load different versions of jquery and they just don't want to play well together.
Most of the time the conflict is cause by portion of code that doesn't even get used. Ahhh the agony!
NS Fuck! JS will easily fix all of your javascirpt errors buy cutting out conflicts one at a time and reloading the bits that don't have problems.
This might or might not be the easy fix you have been waiting for but it doesn't hurt to give it a shot and save some sanity.