Fixing error in underscore render method