Instead of actually storing images, sound files, maps, etc, whole program relies on algorithms computed at runtime. Level generated automatically, sound follows a set math pattern with randomization, etc etc
Benefits of less file size but more processor requirements
Everybody has a browser that runs JS. Only 13k has to be transmitted via floppy disk