This works for any kind of file you want to use when you are designing websites using Domino.
Lets use the .js example from this week's tip. In the Domino Designer, start out as if you are going to create a new image resource, but browse to the directory where your JS file is and type the filename in. Even though the js file doesn't show up in the file browser the "image resource" is created.
Not only is the code easier to write but you have all the benefits of replication and notes security. Try this technique with MIDI files or any other file you need to include in your website.