     <script>KD.campaignData=#{encodedCampaignData}</script>
     <script>KD.socialApiData=#{encodedSocialApiData}</script>
     <script>KD.userMachines=#{userMachines}</script>
+    <script>KD.userWorkspaces=#{userWorkspaces}</script>
     <script>KD.userAccount=#{userAccount}</script>
     <script>KD.currentGroup=#{currentGroup}</script>
     <script src='/a/js/kd.libs.js?#{KONFIG.version}'></script>

          if group
            currentGroup = group

          bongoModels.JMachine.some$ client, {}, (err, machines) ->
            console.log err  if err
            userMachines = machines or []

    currentGroup         = JSON.stringify currentGroup
    userAccount          = JSON.stringify delegate
    userMachines         = JSON.stringify userMachines
    userWorkspaces       = JSON.stringify userWorkspaces

    usePremiumBroker = usePremiumBroker or options.client.context.group isnt "koding"

