Check For Empty String Javascript Methods