How To Use Filter In Javascript