Add conditional to Jersey Preview