testing all javascript events