added js examples to Animation in demo