Please try deleting the filecache.dat file while Dreamweaver is closed. This seems to be a common problem in CS4 if a script file is updated and not the associated html file it starts throwing wild errors that don't really exist. Deleting this file will usually clear the problem.