add idle time class using xss library