updated dropboxjs to run onload