CommonJS Module Approach

var compute = require('./compute.js');

exports.computeSomethingElse = function() {
}

Node.js Modules is an extension to CommonJS Modules (1.1).