Python Replace Text With Javascript How Do You Define