Creation of animations added.  Fixed errors in event.js