NOJIRA Fixed minor javascript error in preferred and non-preferedd label tooltip code