This is a version of the Mario game that is programmed in JavaScript rather than Java and is playable online.
To play locally, download the source files and game.html and run game to open a webpage and begin playing the short example level.
The online version of the same game is accessible through this website: csce.uark.edu/~kdwilich/game.html
To play, use the left and right arrow keys to move directions and jump under the question mark blocks to collect up to 5 coins.