Add a small javascript/HTML to a page So I have a small bit of HTML and Javascript that I want to embed in a basic page. I go to edit the page, turn off rich text editing, and paste the HTML/javascript. I save, and then the javascript portion gets deleted while the HTML stays.

Is there any reason for this?

It is worth noting that the site is maintained and run by the university, although I have full permissions.

Other people say just add a bit of php and add_jscript(), but don't say where that goes, or how to get to that file.  

EDIT: So I contacted the IT department and they suggesting adding the script as a block, and then adding the block to the page. Thanks for all your help!
It looks like what's happening is your text format settings are stripping the JS out of the page. You can edit the formats by going to /admin/config/content/formats, or you may just need to select a different format for the node in question (under the body field when you edit the node).

If you need the JS available on several pages, have a look at: https://www.drupal.org/node/304255.