Updatet Javascript on the game, better handling of population and
technology