I am trying to create a website that plays HTML5 video and displays SRT subtitles. I'm trying to emulate what is done here, but when I do the same thing on my website, FireBug reports \[code\]TypeError: textTrack is undefined\[/code\] in the javascript debugger. I'm running a Debian Squeeze server with apache2, php, etc. Are there any components I need to install to get javascript working properly? I tried editing the htmltexttrack.js that is powering the subtitles to hardcode a value for i, but it still reported errors that it wasn't defined, leading me to believe that some essential piece of javascript is missing.