Does it matter if the module is already created?  It'll get created by whichever require opens it first.  This is not an expected place to see a require, so if we don't have to do it this way for a specific reason, I'd love it to be at the top.