Replace String In Javascript Using Regex