Moves as much as possible into proper readable positions

- Moves as many scripts as possible to the head of index.html
- For as many vars as possible (all except 1 - editor) moves
value assignment into document ready, though initialization
(declaration?) happens in global scope
Sorry, it's actually "evaluate" that needs assigning in global

Also I forgot to move setup to the bottom again.
Changes syntax (mostly commas), everything still seems to work

- Hopefully to a less error prone method
- Note: I do not believe this is a convention, but it should be!