dynamically create common:js:<task> tasks
guard against nondev
Merge pull request #5361 from guardian/common-js-tasks

dynamically create common:js:<task> tasks