Update eff-avg.min.js

This one will work with multiple instances, removing var was polluting the global namespace, duh..
Merge pull request #2 from konijn/patch-2

Applied Konjin's patch