        return version ? version.trim() : 'x.x.x';
                  },
                  function() { return 'x.x.x'; }
                )
           .then( function( version ) {
                query( 'span.current_version' )
                   .forEach( function( n ) { n.innerHTML = version; } );
            })

        // do some syntax highlighting on the conf examples
        query( '.conf' ).forEach( function(n) {
            var lines = n.innerHTML.split("\n");
            for( var i = 0; i<lines.len