```javascript
var blocks = allBlocks.filter(function(block) {
  return !block.disabled && block.isDeletable();
});
```