Avoid timeouts

```js
getLength: function() {
return {
   set success: function(cb) {
     cb(40);
   }
};
}

```