Bug with IE8: 

Following code will fix it:

if(style[ prop ]  && style[ prop ]  != null && style[ prop ] != 'NaNpx') {
		elemStyle[ supportedProp ] = style[ prop ];
}