Update eff-avg.min.js

This should work, added `var` so that each instance has its own t and c and changed around a little how the averaging is done. 203 chars.