In the HTML file, JavaScript like var username = "Lee"; only works if placed inside the script element.

<html>
<body>
<h3>Tweeter</h3>
<script>
var username = "Lee";
</script>
</body>
</html>]]>

Make sure to pick var followed by username and then =, "Lee".