rhodes js: do not use event handler