many improvements to JS version: speed, menu screens, removed a lot of code that is not relevant to the web version