Added javascript animation.