First draft of event handling using javascript