Python Insert Variable Into Regex Javascript Replace Innerhtml