updated the javascript hover code to not clobber the thread subclasses