Even nicer index.html

- [x] Move `ENV` definition into the other script tag
- [x] Move scripts into body (best practice)