There&#x27;s no reason a JavaScript emulator can&#x27;t take a local file and run it in the browser, using the HTML5 File API.<p>That&#x27;s not different in any way from an emulator written in a native language - the user supplies data to a runtime on their own hardware.