Javascript Jquery Check If Variable Is Empty