Moving global variables to a more specific scope
Moving global variables to a more specific scope

And as a result, injecting these variables into appropriate
constructor functions, instead of having those constructor
functions rely on them being a top level.

jstrait/webgl-city,jstrait/webgl-city