Fix IE8 sidebar issue.

Now it still looks slightly weird, but at least the sidebar is in its proper
place.
Move to using jQuery.

I guess I feel bad for not supporting IE8.  Meh.