The only way you're going to get through this is to write some code to catch your Ajax errors, or to use the Developer Tools in IE or Chrome (or Firebug in FireFox) to see what's happening.
If you get an Ajax error, it's not at all unlikely to expect that your scripts will stop working. You need to first figure out what's going wrong, before you can fully figure out what's going wrong ;)
Developer tools are accessible by pressing F12. You can get Firebug
here[
^].
Cheers.