#2176: Simulate :active psuedo-class with js events.