Added some missing references to 'this' for lastHTML and lastText.