Generate the JS code based on this. Remember to use alerts, confirm messages and more to make it more better
Title: Progressbar.js

Objective: Complete various tasks and challenges to progress through the different versions of ProgressbarOS and unlock new features and skins.

Gameplay: 
- The game starts with Progressbar 95 and the player must navigate through different directories and complete tasks to progress to newer versions of the ProgressbarOS.
- Each version has its own set of challenges and tasks, ranging from sorting files to playing mini-games like Progressball and Progresstrix.
- The player can collect Pro labels to unlock new systems and skins for their ProgressbarOS.
- Cheats can be entered via ProgressDOS to make tasks easier or unlock new features.
- The player can also find custom difficulty codes in the game’s communities for a unique challenge.
- The game features a card game mini-game where the player must move cards between different piles and collect yellow cards for points.
- As the player progresses through the different versions of ProgressbarOS, they will encounter errors and glitches to fix.
- This final version, Progressbar 11.22 is the last one you can unlock.
- The rest are Progressbar 95, 95 plus, 98, Meme, 2000, XB, Wista, 7, 81, 10, 1X, 11 and 11.22.