When a person runs the code in a browser it is local on their machine, they download the code and run it. There is normally nothing being processed on the server. If something is saved to a filesystem, it is saved locally. If you want users to upload data you need a server, a way to authenticate user data etc, it is not automatic.