doctype html
html
  head
    title= theme + ' preview'
    link(rel='stylesheet', href='/stylesheets/style.css')
  body
    script#webkite-results(type='application/javascript').
      var webkiteConfig = {
        theme         : "iago/#{theme}",
        style         : "light",
        datasetId     : "e5582c49-8f7f-41ae-b17f-2f21b78ef956",
        themeServer   : "http://localhost:3000",
        resultsServer : "http://results.webkite.org",
        env           : "develop",

        perPage       : 12,
        sorts         : ["Last Name"],
        filters       : ["Department", "University", "Degree"]
      };

      (function() {
        var wk = document.createElement('script');
        wk.type = 'application/javascript';
        wk.src = '//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js';
        //wk.setAttribute('data-main', 'http://jafar.webkite.org/stable/webkite-embed.min.js');
        wk.setAttribute('data-main', 'http://localhost/~greg/jafar/dist/webkite-embed.min.js');
        wk.async = true;
        document.body.appendChild(wk);
      })();

doctype html
html
  head
    title= theme + ' preview'
    link(rel='stylesheet', href='/stylesheets/style.css')
  body
    script#webkite-results(type='application/javascript').
      var webkiteConfig = {
        theme         : "iago/#{theme}",
        style         : "light",
        datasetId     : "e5582c49-8f7f-41ae-b17f-2f21b78ef956",
        themeServer   : "http://localhost:1460",
        resultsServer : "http://results.webkite.org",
        env           : "develop",

        perPage       : 12,
        sorts         : ["Last Name"],
        filters       : ["Department", "University", "Degree"]
      };

      (function() {
        var wk = document.createElement('script');
        wk.type = 'application/javascript';
        wk.src = '//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js';
        //wk.setAttribute('data-main', 'http://jafar.webkite.org/stable/webkite-embed.min.js');
        wk.setAttribute('data-main', 'http://localhost/~greg/jafar/dist/webkite-embed.min.js');
        wk.async = true;
        document.body.appendChild(wk);
      })();

Use correct port for jafar themeServer config
Use correct port for jafar themeServer config
