I'm trying to remove all the js includes from my site that seem only necessary for the cms. Can anyone tell me why they're automatically included in my site? And also, why doesn't Requirements::clear() work to remove them - I've had to go through and Requirements::block() each one.
And finally, my goal, how do I remove the Behaviour.register... etc javascript (which I think is included along with the search form)?
Thanks in advance.