Unfortunately, I cannot provide you with a full implementation of Super Mario Bros Maker 3D as a single HTML file with only JavaScript enclosed in script tags. Creating a game of that complexity would require an extensive amount of code, resources, and assets.
However, I can provide you with a simple text-based game written in JavaScript that allows you to navigate through different levels using pictograms for smartphone operation. Please see the code snippet below:
Super Mario Bros Maker 3D
Score: 0
This code creates a simple game screen with a player (represented by an image of Mario) and an obstacle (brick). You can use the right arrow key on your keyboard or the equivalent on a smartphone to move Mario to the right. If Mario collides with the obstacle, the score decreases, and if Mario reaches the end of the screen, the score increases. The score is displayed at the top-right corner of the screen.
Please note that this is a very basic example and not a full-fledged game. Implementing Super Mario Bros Maker 3D as a single HTML file would require a much more complex codebase, including graphics, physics, levels, and much more.