add 'parseBegin' and 'parseComplete' events (#299)