Well really you should be only adding it on the outlines that your DO want it to be used (instead of base outline). Nevertheless, for your other outlines where you DON'T want the JS you can just create an override on the "page settings" tab and remove the atom where you added the JS.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.