animation docs js updated