Replace With Empty String In Javascript Method Filter