client side scripts

event emitter