Fix errors in composer.json.
Make webroot files not executable.

These files have no reason to be executable.
Remove dead code.

These variables are never used.