Javascript Test If String Not Empty