added ability to define module name

like here http://requirejs.org/docs/api.html#modulename