Create view/form arrays outside _.each

The view/form arrays are needed even when there's
no discussions.  This commit fixes the bug where
the first topic is added.