   {argv} = require 'optimist'
 
   prefetchedFeeds  = null
-  customPartial    = null
-  campaignData     = null
   socialapidata    = null
   currentGroup     = null
   userMachines     = null

    </script>

    <script>KD.config.usePremiumBroker=#{usePremiumBroker}</script>
    <script>KD.customPartial=#{encodedCustomPartial}</script>
    <script>KD.campaignData=#{encodedCampaignData}</script>
    <script>KD.socialApiData=#{encodedSocialApiData}</script>
    <script>KD.userMachines=#{userMachines}</script>
    <script>KD.userWorkspaces=#{userWorkspaces}</script>

        socialapidata = data
        queue.fin()
    ->
      bongoModels.JGroup.one {slug : slug or 'koding'}, (err, group) ->
        console.log err if err
        if group
          currentGroup = group

        queue.fin()
    ->
      bongoModels.JWorkspace.fetch client, {}, (err, workspaces) ->
        console.log err  if err
