add term as data attribute for jquery
fixing spec for blacklight4
fixing spec for blacklight4