fix setting outerwidth on older jquery

Older jQuery (1.3-1.7) didn't set outerWidth correctly because width() and outerWidth() did not behave the same way.