begin.js :: clear last.end if ending last failed