Added eventName method to get animation and transition events
Also, added jasmine basic tests.