Javascript breaking when testing in Dreamweaver.