Commonjs syntax

Use the more explicit CommonJS-style syntax supported by RequireJS because it is more compatible with CommonJS modules and is less prone to error when matching modules to variables.