Yes. That's exactly how you would do it. You can link it in the code with INSERT > HTML > Script Object > Script and browse to and select the js file. Or you can just write the link in code -
Thanks Murray. Much appreciated.