A module prefixed with './' is relative to the file calling require(). That is, circle.js must be in the same directory as foo.js for require('./circle') to find it. 

http://nodejs.org/api/modules.html#modules_file_modules
As long as config.json is in the same directory as app.js, seems like it shouldn't be a problem.