Python Replace Regex String Javascript