Dynamically read JavaScript scripts from an external file to allow using a custom text editor

Since it's very unergonomic to write JavaScript in the embedded editor compared to a real text editor, it would be nice to be able to connect the embedded editor to an actual .js file so that you can use your text editor to edit it, save it, and then BTT would update the content and allow you to test it by clicking a "Run script" button