loader.js - fix onPercentChange method