.data is incompatible with jquery > 1.7.2, and add ability to specify events to store