You probably should have a quick look at the Hype Documentation.
One way is to directly drag and drop the file into the resources.
When you do that Hype will populate it’s head file with a reference to your file like so.
This thread may help you.
Thank you Mark. I was able to run the .js file thanks to the reference you sent me. Really appreciated!