Uncaught SyntaxError: Unexpected token ; means that you’ve put an extra semicolon somewhere you shouldn’t have. 
In this case, you have an extra semicolon after your function declaration. Instead of
 function updateScript();{
            var wilson = document.getElementById("wilson");
            var willow = document.getElementById("willow");
            var mighty = document.getElementById("mighty");
            }
You should use
 function updateScript() {
            var wilson = document.getElementById("wilson");
            var willow = document.getElementById("willow");
            var mighty = document.getElementById("mighty");
            }
3
solved What is wrong with this JavaScript in my html file? [closed]