Adds support for using Crafty as a CommonJS module such as in browserify