Check For Empty String Javascript Functions