better animations, and js cleanup