simplest dropbox sample in js