In the interest of obsessively avoiding allocations...  It would be a little better to allocate this object literal in the constructor, and then just assign to values in this function.  That way you don't need to allocate a new object literal every time you change the start/end points.