Continued JS Cleanup

#138 where AJAX requests were sent for side boxes which were collapsed.

Continuing to work on #139 as well as some random typos I've corrected.