DRY concatenating
Merge pull request #559 from herby/requirejs-wip

DRY concatenating