Replace Text Using Regex In Javascript