<script>tag, directly in your page template or page body.
You can also upload JS files as assets, by choosing Images and Files from the Content menu, clicking New File, and selecting the file on your computer (just as you would to upload an image). If you do so, however, you will not be able to edit the JS code from within the browser. Uploading the JS as a file is usually the best approach for library code that you don't plan to modify, whereas using the JS Files admin interface is best for files that you want to be able to edit easily.
To include the JS from the file in a template, a snippet, or pod contents, use the following code:
Note that all files referenced by Webvanta sites should begin with a leading slash.
If you are inserting JS code directly into a template, a snippet, or pod contents, just wrap it in script tags as in any HTML file: