use main.js instead of index.js as entry-point to make it nicer to use with requirejs