updated amdefine; define catches unnamed module early
Merge pull request #570 from herby/requirejs-wip

updated amdefine; define catches unnamed module early