add dojo-process-bar and after-init event