How to implement OR condition using jQuery