OK, glad to hear you have it working.
What version of html editor is this?
probably wasn't, but just want to double check, if the JS file was open in Dreamweaver while editing the HTMLEditor instance, it could cause the change not to take effect.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.