Replace With Empty String In Javascript Definition