Changes to support JSLint
Saved the appid response for use later in the app