Step 8 (build) + changes to previous sections to ease the build step (i.e. keep the config in index.html).