client: de-jQueryify a couple dom items

Part of an effort to remove dependency on jQuery.

$ instances left: 541
client: de-jQueryify settings pane

Part of an effort to remove dependency on jQuery.

$ instances left: 462
client: get rid of $window references

Makes resizing faster and fixes not all dom elements resizing correctly.

Part of an effort to remove dependency on jQuery.

$ instances left: 455