Connect my JavaScript to the HTML properly