test: Move script and css out of index.html.
Normalize package.json and add missing properties.

Also refactor the properties in a more sane way.
Update dependencies.