style/js: Work around IE6/7 bugs.  Really.