Javascript Check If String Is Undefined 0