A robust JavaScript event library