Added simplistic support for CommonsJS definition.

This is not to be merged into trunk yet.

Updated package.json

Added var statement

stuff