Handle script load error