Using open-uri and using icanhazip for ip tracking

Hi, I updated yout method to use open-uri.
BTW, the IconURL is broken. As you're the original author of this dropzone script, I tought it was better to send the pull request to you. Thanks on advance.