"Safe" refactoring
Found simpler way to require mongoose
Should be backwards compatible