Add class to thoughtword links