Enhanced Javascript Animation.