JavaScript

There’s way too much JS code, and a lot is very out of date.