External Javascript File Support

I am trying to run an external Javascript file as part of an action.
When I try to choose the .js file that contains my script, it is not selectable.
Are external .js files supported? The documentation references only .scpt files.
When I try to choose the .js file that contains my script, it is not selectable.
Are external .js files supported? The documentation references only .scpt files.