undefined var config in server.js