LastEvent sent to js