Indeed, there is minimal communication between your browser and the server. Nearly everything happens locally in your browser.  Many responses from the commands you can use are canned.  Watch the source code to see how it's done ;-)