There's a few great ways to check for Javascript errors. By far the easiest is to install the Web Developer Tools for Firefox:
addons.mozilla.org/en-US/firefox/addon/web-developer/
I love this tool the best not because it has a ton of options (which I use on occasion) but because in the top right of the toolbar, there should be 3 green checks on every page. These checks are for CSS errors, JS errors, and Standards errors. The JS check is the most important (to us), when it turns to a red-x, something's wrong. Not all errors are critical, but always good to look into, and the reporting usually gives a great hint as to where the problem is coming from.
In addition to that, there's plenty of great other tools like the Firebug add-on for Firefox or the developer tools for Chrome (hit Ctrl-Shift-I on any page and go to console to see Javascript errors.. but it's not as detailed as the Web Developer tools above). For more information on debugging, and finding, Javascript errors, check out:
addons.mozilla.org/en-US/firefox/addon/web-developer/
Hope this helps, and good luck! If you have other 'general' questions, fire away