       KD.userAccount = KD.remote.revive(#{userAccount});
     });
     </script>
-    <script>KD.prefetchedFeeds=#{encodedFeed};</script>
 
     <!-- Google Analytics -->
     <script>

      {profile   : {nickname}, _id} = delegate

    replacer             = (k, v)-> if 'string' is typeof v then encoder.XSSEncode v else v
    encodedFeed          = JSON.stringify prefetchedFeeds, replacer
    encodedCampaignData  = JSON.stringify campaignData, replacer
    encodedCustomPartial = JSON.stringify customPartial, replacer
    encodedSocialApiData  = JSON.stringify socialapidata, replacer
    currentGroup         = JSON.stringify currentGroup
    userAccount          = JSON.stringify delegate
    userVMs              = JSON.stringify userVMs

  socialApiCacheFn = require '../cache/socialapi'
  socialApiCacheFn options, (err, data)->
    socialapidata = data
    return generateScript()   # we can generate html here
