you can now go back to the menu from pause
threw away javascript and stuff. Must port the game to C++