Same for initializeMaterialPack.js.  I would check everything throughout.  Given that this is supposed to be the textbook example of a plugin, we need to make sure it is clean.