JS(homepage) change selected class for threat status text on slider completion