Fix issue with `head` param when adding more than one script tag (#6639)
* fix
* Revert "fix"
This reverts commit 86783c834ddfdff4eb34f1d55ded29f162493389.
* fix
* add changeset
* fix
* add external js file functionality
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>