More comprehensive materials inner array checker - demo
Make `demo` the root directory for `npm start`.

URLs in the script/HTML don't resolve properly when running
from `localhost:8080/demo`.
Materials array check, fixes issue with inner array of materials[0]
Merge fix