Revert "don't need conf here"

This reverts commit b0c363c01ee93b0e28c34757d8323cf9fca0b748.
use lib/config.js