Javascript Madness

I don’t like all these javascripts, I should learn how to get rid of
most of them while keeping the functionality.