I'd like to make an auto redirect if some condition is true. After chain loading several js files, the following " window.location.href " in one of the end chain file ...