Updated 'main.js' so that "Change Map Size" button works properly.