You should also be able to add JS by using a Generico filter template. Plus you then get the added benefit of being able to use many other Generico filters to enhance your site.
General developer forum
Using Javascript on a single page
This discussion has been locked so you can no longer reply to it.