Adding css3 selector support, Add onRunFinished event