Try clearing your cache in the browser to make sure its loading the updated Javascript file. I was able to reproduce your issue in my Firefox and after removing that line and clearing my cache, it worked correctly.
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.