code: function() {
              var now = new Date();
              var hours = now.getHours();
              var minutes = now.getMinutes();
              var seconds = now.getSeconds();
              var ampm = '';
  
              if ( lang.useAMPM ) {
                  ampm = ( hours < 12 ) ? 'AM' : 'PM';
                  hours = ( hours > 12 ) ? hours - 12 : hours;
                  hours = ( hours === 0 ) ? 12 : hours;
              }
  
              // Clock
              var clockStr = zeroPad( hours ) + ':' + zeroPad( minutes ) + ':' + zeroPad( seconds ) +
                             ' ' + ampm;
              consoleWindow.document.getElementById( 'clock' ).firstChild.nodeValue = clockStr;
  
              // Timer
              seconds = Math.floor( ( now - consoleWindow.timerStart ) / 1000 );
              minutes = Math.floor( seconds / 60 );
              seconds = Math.floor( seconds % 60 );
              consoleWindow.document.getElementById( 'timer' ).firstChild.nodeValue =
                  zeroPad( minutes ) + 'm ' + zeroPad( seconds ) + 's';
  
              if ( !consoleWindow.initialized ) {
  
                  // Nudge the slide windows after load, or they will scrolled wrong on Firefox.
                  consoleWindow.document.getElementById( 'slideView' ).contentWindow.scrollTo( 0, 0 );
                  consoleWindow.document.getElementById( 'preView' ).contentWindow.scrollTo( 0, 0 );
                  consoleWindow.initialized = true;
              }
          }
docs: Show a clock