added event handler to usr/javascripts