Makes AMD modules require’able in node by adding a global define function