Attempting to do dropbox auth in phonegap.