fix for IE7 contentSize = widgetSize javascript error