Javascript Replace Null With Empty String