removed a lot of jquery (for performance, readability and general hate of jquery)