add event handlers, js, ...