Bugfix: the links always open the first one 

Hi!

I tried to use the vanillajs version of this librarie.
But every links always open the same link :(

![always...](http://media.giphy.com/media/CwN6tOlVn0rsY/original.gif)

There is a scope problem with the variable named "item".
So I submit to you a solution, but you probably will have a nicer idea in mind.

I really like your librarie, thanks for sharing it !

Thomas.