Javascript Filter Out Empty Strings From Array