fix init load js failed bug