Update privates.js

Fix calling event 'onStepChanged' when use async content loading