micro library for simulating DOM events