Update css-animations.js (fix #1)

fix exception "this.original.insertRule is not a function" on slide transitions.