closes #16 - move commonjs to first check
0.3.5