JavaScript animation made with fun