All of the following are the same shader, but with different parameters. In a game engine, one might call these different materials. The parameters changed are the seed, scale
The code is included in the source for each page, and this common.js file included in each page.