Fix syntax for require.js
Better support for main
Version bump 0.2.0