Node require hook to put names on anonymous functions