diff --git a/IPython/html/static/tree/js/sessionlist.js b/IPython/html/static/tree/js/sessionlist.js
index 1b4a72978..dc1f9aa14 100644
--- a/IPython/html/static/tree/js/sessionlist.js
+++ b/IPython/html/static/tree/js/sessionlist.js
@@ -35,20 +35,13 @@ var IPython = (function (IPython) {
SesssionList.prototype.sessions_loaded = function(data){
this.sessions = {};
var len = data.length;
- if (len > 0) {
- for (var i=0; i