Questions for javascript-events