Trivial model + commonjs for sprockets

Adding commonjs for sprockets. To use it just name your js with .cjs.js
and it will be available in require('module.cjs').