removed old animation js code