If  'last' property on 'stack' array is defined by Object.defineProperty with setter, assigning to  'last' uses setter in wrong manner, then htmlParser always fails. Defining it outside of array avoids the conflict on 'last' property alltogether.