Changes on dropbox.js

- Change window.prototype to Object.defineProperty