Bug fix: "width is null or not an object" from IE8 occasionally. (undefined is null or not an object with jquery 1.9.1. works fine with 1.10.1)