Here is an example of a simple implementation of Super Mario Bros for the NES in a single HTML file using JavaScript:
Please note that this is just a starting point and does not include the complete implementation of Super Mario Bros. Depending on the complexity of the game, you may need to write additional code for handling user input, collision detection, sprite animations, level design, and more.
To create a finished game, you would need to implement all the necessary game mechanics, character controls, enemy AI, level designs, and visual assets like pictograms or sprites. The above code is just a basic template to get you started.