require is back in a new form

to have both node a client files working with require.

// in the file client/js/file.js
define('file', function(require){
this.exports = {};
});

then i can call require('file') in client/js files