Update jquery.easydropdown.js

I think this "i" in line 341 should be "index" instead, am I right? As far as I can see there is no i defined, and I am getting an error under some circumstances.