title: error appearing in kue ui when trying to run it
body: <p><strong>This is the error in the kue ui at localhost:6379/active  in my web browser.</strong>    </p>
  
  <pre><code>TypeError:
  E:\development\workspace\wmtservices\node_modules\kue\lib\http\views\_filter.jade:3
  1| select#filter
  2|   option(value='') filter by
  &gt; 3|   - each type in types
  4|     option(value=type)= type
  
  Cannot read property 'length' of undefined
  at jade.debug.unshift.lineno (eval at &lt;anonymous&gt; (E:\development\workspace\wmtservices\node_modules\jade\lib\jade.js:166:8), &lt;anonymous&gt;:234:31)
  at eval (eval at &lt;anonymous&gt; (E:\development\workspace\wmtservices\node_modules\jade\lib\jade.js:166:8), &lt;anonymous&gt;:265:4)
  at E:\development\workspace\wmtservices\node_modules\jade\lib\jade.js:167:35
  at Object.exports.render (E:\development\workspace\wmtservices\node_modules\jade\lib\jade.js:201:14)
  at View.exports.renderFile [as engine] (E:\development\workspace\wmtservices\node_modules\jade\lib\jade.js:228:13)
  at View.render (E:\development\workspace\wmtservices\node_modules\express\lib\view.js:75:8)
  at Function.app.render (E:\development\workspace\wmtservices\node_modules\express\lib\application.js:503:10)
  at ServerResponse.res.render (E:\development\workspace\wmtservices\node_modules\express\lib\response.js:755:7)
  at Command.callback (E:\development\workspace\wmtservices\node_modules\kue\lib\http\routes\index.js:23:11)
  at RedisClient.flush_and_error (E:\development\workspace\wmtservices\node_modules\redis\index.js:117:25)
  </code></pre>
  
  <p>*<em>This is the code in the js file written in titanium *</em></p>
  
  <pre><code>var kue = require('kue'),
  job = kue.job,
  redis = require('redis');
  // creating redis client....
  kue.redis.createClient = function(){
  var client = redis.createClient('6379','127.0.0.1',{no_ready_check: true});
  return client;
  };
  
  var jobs = kue.createQueue();
  var job = jobs.create('test', {
  title: 'matching twins'
  }).priority('high').save();
  </code></pre>
  
  <p><em>this is the ui part of the kue...</em></p>
  
  <pre><code>// start the UI
  kue.app.listen(6379);
  console.log('UI started on port 6379');
  </code></pre>
  
  <p><em>Even without initialising a job i am getting the same error in the kue ui...</em></p>