Fixed the failure of jinja in the presence of }} in JS