A problem with my jade file is sending me TypeError: Cannot read property 'length' of undefined