[Templates] Template Variables `${xxx}` Conflicts with JS template syntax

  • Place the JavaScript code in a separate JavaScript file. Use `