Commonjs example

Added this example on top of the commonjs fix to see how this works.

To test:
- install beefy: npm install -g beefy
- cd commonjs && beefy --live

You may not want this which is why I created a separate branch and PR for the example.