Dropbox menu javascript