Correct typos in some comments in the Makefile
Add the 'wrap' function to math.js

This is a function similar to JavaScripts built in '%' operator, but with
different behaviour for negative numbers.
Add the Menu and MenuItem classes
Update the example game to use the new menu system
Add an option to restart the game from scratch