Use CommonJS-style syntax for defines
Merge pull request #11 from Connexions/commonjs-syntax

Commonjs syntax