Make the exports system include the wrapper function in node.js
(cherry picked from commit 111f1cbc0d65e4d6680398091a017a9c4e53d153)