The repeated code wasn't causing the issue. It was the order of the jquery code and the additional jquery library reference at the bottom.
It could be adding that code when you make edits through the wizard.
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.