Js Check If A Variable Is Set