Fixing a braino in lib/view.js