Update script.js

- Main Menu added
- Popups removed
- bugfixes