Python 3 Str Replace Jquery