backbone: updated the logic to rendering a categories list