Check If Variable Is Empty Object Javascript Methods W3schools