If the error is the exact same you can try moving the js file into the proper location, before you do this though you should rename the old one so that it is backed up in case this is not the fix for you. Here are the paths for xp and vista/7.
xp
-DWCS3
--C:\Documents and Settings\<Your User Name>\Application Data\Adobe\Dreamweaver 9\Configuration\Commands
-DWCS4
--C:\Documents and Settings\<Your User Name>\Application Data\Adobe\Dreamweaver CS4\en_US\Configuration\Commands
vista/7
-DWCS3
--C:Users\<Your User Name>\AppData\Roaming\Adobe\Dreamweaver 9\Configuration\Commands
-DWCS4
--C:\Users\<Your User Name>\AppData\Roaming\Adobe\Dreamweaver CS4\en_US\Configuration\Commands