Added Node.js module compatibility.

Used UMD returnExports.js example.