refactor initFader main.js + fix fader bug