completed exercise using even handlers in jquery