Js Switch Case With Conditions That Qualify