https://github.com/dropbox/dropbox-js sample for a chrome app