Better to wrap this long line, eg:

    var timeItem = new Animation(b, [
      {transform: 'scale(1)', offset: 0},
      {transform: 'scale(1.5)', offset: 0.5},
      {transform: 'scale(1)', offset: 1}
    ], 2);

A couple of other issues here:
* Always prefer single quotes instead of double quotes
* In an object literal there should be a space after : and ,

eg.

    {transform: 'scale(1)', offset: 0}

not

    {transform:"scale(1)",offset:0}

You should repeat these fixes throughout the change. I won't comment on them all now.