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
Tutu temu bu zawrjena. Woni móža tu dale wotmołwić.