change banner to suppport commonjs and amd in addition to the global window object
Merge pull request #110 from jfromaniello/commonjs-support

add support for commonjs and amd