I think the reason parseInt() was used here is because there is no real documentation on what `obj.GetRectangle()` should return (I couldn't find any real documentation). If it would return something like `50px` parseInt() will still properly work while we'll get a `NaN` with `Number()`.