Updated plugin.js

Removed calculation of zero value when the sum of all the input is zero.