Update proportion.js