share node and require modules (using amdefine)