I am just starting out with the Dropbox SDK in a JavaScript app and am being frustrated because it doesn't seem to be able to return the files in my 'Apps' folder even though I'm following the initial tutorial at https://www.dropbox.com/developers/documentation/javascript#tutorial. The alert says 'undefined'.
Here's my code:

I also get this error message:

Please can anyone help?