Python Insert Variable Into Regex Javascript Replacewith