Solution to the problem:
<script type="text/javascript" src="2.js"></script>
<body>
<script type="text/javascript">
new TWTR.Widget({
version: 2,
type: 'search',
search: 'hakarito',
interval: 6000,
title: 'what people say about...',
subject: 'Botball Online',
width: 250,
height: 300,
theme: {
shell: {
background: '#007CC2',
color: '#FFFFFF'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#f59f00'
}
},
features: {
scrollbar: false,
loop: true,
live: true,
hashtags: true,
timestamp: true,
avatars: true,
toptweets: true,
behavior: 'default'
}
}).render().start();
</script>
</body>
The solution is that your script should be within <body>