Index: trunk/termtv/js/player.js
===================================================================
--- trunk/termtv/js/player.js	(revision 17407)
+++ trunk/termtv/js/player.js	(revision 17408)
@@ -1,2 +1,4 @@
+'use strict';
+
 /**
  * @class TTVPlayer
@@ -86,4 +88,6 @@
     This.debugStream = function(msg)
     {
+        function pad(v) { return ('0'+v).slice(-2); }
+
         if (!This.options.debug)
             return;
@@ -91,5 +95,4 @@
         if (This.stream && This.stream[This.nextFrameIdx])
         {
-            function pad(v) { return ('0'+v).slice(-2); }
             var dat = new Date((This.stream[This.nextFrameIdx].time - This.stream[0].time)*1000);
             options.debug(pad(dat.getUTCHours())+":"+
@@ -484,5 +487,4 @@
         if (this.options.scan && (new Date()).getTime()/1000-now>1)
             break;
-
     }
 
