Demonstration of using require to load modules when particular elements exist