Moved check for undefined modules in moduleloader to avoid errors when trying to access properties of undefined object.
Removed reference to "bindMiddleware" in router code