quick percentage.js fix