Refactored and commented both js and wsgi, and disabled spend_cpu_time from both as I'm not sure if they're working as intended.