if top is window
bindReady =>
@client = new ClientInfo
should become
if top is window
@client = new ClientInfo
When sending data about client we doing this:
callJSONP url, params, (resp) => @applyResponse resp
Should become this:
callJSONP url, params, (resp) => @cache = resp
And finally
bindReady => @client.appyResponse(@cache)