fixed issue with getStyleObject in IE9