Modify Animation.prototype.toString