Update index.js

Rounding the final percentage to 2 decimals.