Dropbox.js as a component